package com.eascs.web.demo.rest;

import java.util.Date;

import javax.xml.bind.annotation.XmlElement;

import org.hibernate.validator.constraints.NotEmpty;

public class RestDemoForm {
	@XmlElement(name = "id")
	@NotEmpty()
	private String id;
	@XmlElement(name = "first-name")
	@NotEmpty
	private String firtName;
	private String address;
	private String[] mobiles;

	private Date date = new Date();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFirtName() {
		return firtName;
	}

	public void setFirtName(String firtName) {
		this.firtName = firtName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String[] getMobiles() {
		return mobiles;
	}

	public void setMobiles(String[] mobiles) {
		this.mobiles = mobiles;
	}

}
